package com.ddwl.schema.vo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/10/26 10:44
 */
@Getter
@Setter
@ApiModel("用户砍价订单vo")
public class BargainOrderVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("活动id")
    private String activityId;

    @ApiModelProperty("砍价商品skuId")
    private String bargainSkuId;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品名称")
    private String itemName;

    @ApiModelProperty("sku编码")
    private String barcode;

    @ApiModelProperty("商品价格")
    private BigDecimal itemPrice;

    @ApiModelProperty("商品图片")
    private String itemImage;

    @ApiModelProperty("需要的人数")
    private Integer needChopNum;

    @ApiModelProperty("帮砍人数")
    private Integer chopNum;

    @ApiModelProperty("底价")
    private BigDecimal thresholdPrice;

    @ApiModelProperty("已砍价格")
    private BigDecimal choppedPrice;

    @ApiModelProperty("订单状态 0：砍价进行中，1：砍价成功，2：砍价失效,3:已经到底价可以购买")
    private Integer status;

    @ApiModelProperty("有效日期（在此时间之前订单有效，可以分享砍价）")
    private Instant expireDate;

    @ApiModelProperty("有效支付到期时间")
    private Instant payExpireDate;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty("收获地址id")
    private String addrId;

    @ApiModelProperty("店铺id")
    private String shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;
}
